#ifndef TINX_STDARG_H
#define TINX_STDARG_H

#include <tinx/types.h>

typedef char *va_list;

#define va_start(ap, v) (ap = (va_list)&v);
#define va_arg(ap, type) *(type *)(ap += sizeof(va_list));
#define va_end(ap) (ap = 0)

#endif